package com.example.smartcity.logic.utils

import android.widget.Toast
import com.example.smartcity.SmartCityApplication.Companion.context

/**
 *
 *  ANDROID STUDIO -version 2022.19
 *  项目名: Toast
 *  创建时间: 2023/2/10 22:30
 *  CodeAuthor: ikun
 *  email: 2506789532@qq.com
 *
 *  Toast提示工具
 **/
class Toast {
    companion object{
        fun String.showToast(){
            Toast.makeText(context, this, Toast.LENGTH_SHORT).show()
        }
    }
}